package com.hrm.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hrm.dao.SalaryDao;
import com.hrm.pojo.Salary;

@Service
@Transactional
public class SalaryService {

	private SalaryDao salaryDao;
	
	public List<Salary> findAllSalaries(){
		return salaryDao.findAll();
	}
	
	
	
	
	

	@Autowired
	public void setSalaryDao(SalaryDao salaryDao) {
		this.salaryDao = salaryDao;
	}
	
	
}
